package oa.service;

import java.io.Serializable;
import java.util.Collection;
import java.util.Set;

import oa.domain.page.PageBean;
import oa.domain.system.User;
import oa.util.HQLHelper;

public interface UserService {

	public Collection<User> getAllUsers();
	
	public User getUserById(Serializable id);
	
	public void saveUser(Long did,Long[] rids,User user);
	
	public void updateUser(Long did,Long[] rids,User user);
	
	public void deleteUser(Serializable id);

	public void updateUser(User user);

	public PageBean getPageBean(HQLHelper hh, int currentPage);


}
